import { RouteConfig } from "vue-router";
import Feedback from '@/pages/feedback/index.vue';
import Complaint from '@/pages/feedback/complaint.vue';
import ComplaintResult from '@/pages/feedback/complaintResult.vue';
import { ROUTE_NAME } from "@/lib/constant";

export const routes: RouteConfig[] = [
    {
        path: '/feedback/index',
        name: ROUTE_NAME.FEEDBACK_INDEX,
        meta: {
            title: '帮助中心',
        },
        component: Feedback,
    },
    {
        path: '/feedback/complaint',
        name: ROUTE_NAME.FEEDBACK_COMPLAINT,
        meta: {
            title: '投诉',
        },
        component: Complaint,
    },
    {
        path: '/feedback/complaint_result',
        name: ROUTE_NAME.FEEDBACK_COMPLAINT_RESULT,
        meta: {
            title: '投诉成功',
        },
        component: ComplaintResult,
    },
];
